package com.oreilly.ez.service;

import com.oreilly.ez.entity.Study;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface StudyService {

    Study save(Study item);

    void remove(Integer sid);

    Study findOne(Integer sid);

    Page<Study> find(Study item, Pageable pageable);

    List<Study> findByTermId(Integer termId);

    List<Study> findByStuId(Integer stuId);
}
